<template>
  <div class="container">
    <nav aria-label="breadcrumb">
      <ol class="breadcrumb">
        <li class="breadcrumb-item" aria-current="page">
          <router-link to="/">Home</router-link>
        </li>
        <li class="breadcrumb-item active" aria-current="page">Profile</li>
      </ol>
    </nav>
    <div class="row">
      <div class="col-3 d-flex">
        <div class="card flex-grow-1">
          <div class="card-body">
            <img class="img-thumbnail" :src="user.avatar" />
            <h4 class="text-center mt-3">{{user.name}}</h4>
            <p>{{user.description}}</p>
          </div>
        </div>
      </div>
      <div class="col-9 d-flex">
        <div class="card flex-grow-1">
          <div class="card-body"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { mapActions, mapState } from "vuex";

export default {
  name: "UserInfoPage",
  computed: {
    ...mapState( ["user"]),
  },
};
</script>

<style scoped>
</style>
